package com.cqhfan.pojo.im.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 眭传洪
 * @create 2025-08-16 23:59
 */
@Data
@TableName("chat_group")
public class ChatGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 群名称
     */
    private String groupName;

    /**
     * 群主id
     */
    private Long groupLeaderId;

    // 群头像
    private String groupAvatar;

    // 群人数
    private Integer total;

    // 简介
    private String desc;

    // 创建时间
    private LocalDateTime createTime;

}
